Reviewed Additional Javascript Tests

@clarkbarz reviewed the javascript tests in pull request #128, which was requested in #127. 
again, the point of this function is to submit the form if the enter button was pressed in any input that's not a textarea or a select.