Added search grammer
Updated search grammar, fixed rankings table timeouts
Fixed some jshint warnings