Missing `var` before $objOptions on line 510

My IDE also automatically stripped trailing whitespace
Add missing `var` keyword.
Delinted using jshint

Now passes jshint test.
Merge pull request #2 from gwa/master

Missing `var` before $objOptions on line 510