Java List Object List String Replace Javascript