Made javascript changes