Fix js problem