setting up the js and paths.