removed extra } in .js file