Fix bug where HTML without scripts wouldn't allow console.log output

(It may have an onclick or similar)
Several language mistakes caught by Zack Gao

Issue #46
Issue #47
Issue #48
Issue #49