Revert "Additional changes and corrections"

This reverts commit c993ca487f8e17d6d7095b75e53e49fcf8d28dbd.
Revert "Revert "Additional changes and corrections""

This reverts commit 217272220e36d3e63a9168698317bf84e3f45d72.
Correct global.js

Strange revert corrected