Changed the location on javascript