IW: typeof is not a function, missing ;
Merge pull request #18 from tangram-map/iwillig/minor-fixes

IW: typeof is not a function, missing ;