Add moduleType to bower.json. Remove unused modules, fix module boilerplate