add commonjs support & component.json for support component.js support