Add some missing semicolons
Remove non-breaking space
Fix default handleError