Replaced space with comma in global definitions in JS files