JavaScript library for manipulating documents based on data