adding idle notification for v8 to perform garbage collection
fixing crash on streams with r.js