fixed coffeelint errors
added doc