Added smoke test for Javascript errors