a light documnent database for javascript