updated javascript and css