Replaced empty functions with $.noop