changes to work with bower instead of components.js, upgrade rjs