bower.js file fixes for distribution