simplequery.js passes jslint now
queries sortOn improved to manage specific metadata values
complex_queries.js updated