seed random number generator in ScriptEngine for Math.random use in JS
remove DS check in debug
Merge pull request #2493 from birarda/master

seed random number generator in ScriptEngine