revert to plain JS