fix TypeError: Object #<Object> has no method 'new' of run.js