CON-556 | S:EH changed model for js globals