Cleaned up profile.coffee and regenerated profile.js

profile.coffee was in a mess and so I went ahead and cleaned it up, and added Madra's changes from PR#25.

This is to ensure that profile.coffee and profile.js remained in sync.

@camilotorresf and @madra, please check the generated profile.js to ensure that your code is correct.