I am always confused that which parts should be in the javascript in haml, and which should be in the helper javascript files. Could you please explain a bit here?