Updated code style. Used some goodness of CoffeeScript.
Improved save method.