fix volunteer timeslot query. Closes #18.
modularize frontend JavaScript. Closes #18.