fixed bug in javascript set_hashkey_search_criteria