GremlinJS amd support