Removing module dependency on hammerjs