Support AMD and change JS to camelCase

Reason about camelCase: https://github.com/jashkenas/coffeescript/issues/425#issuecomment-271039