indexStorage: pass jslint, prepare allDocs/complex queries