fix the js