Took a stab at format on save functionality

This may work for formatting on save, which would be a nice feature to have.
Update format.coffee
Update format.coffee
Somewhat working format on save