Change name of global js

Signed-off-by: Adam Lord <adam.lord@gmail.com>