Please move javascript to a separate js file. I know Janus already has this everywhere, but we should really avoid that when creating new code.