Removing an unneeded ASSERT in extract_as_js
Adding JSON to the regression tests