Fix JavaScript style issues, impose consistent spacing in JS
This fixes many issues with JavaScript style issues in Globe. This especially affects spacing issues, e.g:
}else{
-> } else {
if(x){
-> if (x) {
for(var x....){
-> for (var x....) {
function(x){
-> function (x) {
Relevant: https://contribute.jquery.org/style-guide/js/
Trac:
Username: cydrobolt