Added js globals.