refactored $prefixed vars in coffeescript