Use coffeescript reconstruction modal.js

Not completed! throw some errors