removed debugger from the js file