JavaScript test suite: adding more semi-collons where necessary to assure compatibility with Chrome and Safari.