update js file to save to vendor/javascripts folder