JS Refactor - move js into proper files (e.g. helpers and putting controller specific js in its controller js file, except for Graphers which uses embedded ruby which is a bit of a problem - should be in URL