Code cleanup

return statements like these are not required in CoffeeScript
Use a more clear way of casting a boolean

User `Boolean x` instead of `!!x`
Merge pull request #536 from jamiter/dev

Code cleanup