Fix the js problem