saving rubyrage.js file