obey jslint
Document new-style options
Fix "Cannot read property 'nodeType' of null" error