A json partial selector for javascript