javaScript changes for hight