remove global js includes, replace w/ 'requires' in modules that need them