Altered nogo.js to check input box status on all page loads, set fields correctly