Endpoint fix

* Fixed endpoint variable name typo, was causing the endpoint base to be `undefined` when specifically passed
* Added coffee script version as dev dependency

Other changes are whitespace automatic removals