Fix references to window values; update package.json and bower.json