Fix syntax errors in ember, leaflet, and threejs.

I looked at the remaining syntax errors (in extjs, intl, sammyjs, and sencha_touch), but it wasn't clear to me how to fix these.