Silenced jslint warnings
Fixed typos