Html Text Replace Javascript Array Push