Fix AMD usage on Long.js