Make sure console messages from the page show up in phantomjs.
Add required attribute support to schema json.