Updated JS to test new paged / lucene cached invoice queries