gridengine javascript