restored global resolvedWords, added inline module in toJS
updated tests