revise coffee and js