A JavaScript library for creating and running behavioral experiments in a web browser