refactored js compression / requirejs configuration - now using r.js