Fixed a few other syntax errors that gave problems on Chrome