minor changes to tag order, console.log cleanup, and fixing the submit button