ran coffeelint on all scripts and checked code structure