Function that loads HammerJS, returning a promise that is resolved once HammerJs is loaded.
type HammerLoader = () => Promise<void>