Change the way module is configured (no global window property). Fix references in bower.json. Fix tests.