fixes #462: added missing semicolons so it works again in Internet Explorer 8