Used Coffeelint to cleanup code a bit.