added search facet for last modified date ranges

also fixed a bug in the search query binding
  prevented search from working from alternate search bar
also fixed some jslint errors brought to my attention