add missiong semicolons in js code.