updated throttle plugin to correctly work with jQuery and as an AMD module