make javascripts/frameworks which will contain files for individual download & rename files to .min.js which are already minified
rake task - compress javascripts/lib/*.js to lib.js
use compressed/framework & lib.js in erb & vm