#65 part of javascript revert