amend full version to remove amd define of hammerjs