use jquery to get keys array from a map