test case , example, globals.js module combined fix

UTC timezone created date object in summer
GetCurrentWorker() return null when current thread is started from Java and will not store worker in ThreadLocal
Remove the require statement in example/swing.js as setInterval is moved from scheduler to global