Made Global js object actually global