Use local JS and tidy up Gruntfile