Add dependency for high-res everywhere global.js is used
Remove isHighDpi which is no longer used
missing semi-colon