Fix CommonJS check; add component.json; Fixes #4

upgrade bower.json