JavaScript library to work with elements