Modulize javascript
Remove unncessary migration file