allowing for component.js support by allowing dist/*.js and component.json