fix three args open call
protect from empty js_errors.trace
Merge pull request #11 from dk/master

fix three args open call