[LayerTest] Fixing IE errors when using Google-closure compiler.
Fixing issues in MotionStreakTest.
Updating tests-boot-jsb.js and tests.main.js.