Add javascript and API endpoint to change timezone

This is imperfect, it should set a proper POSIX timezone in the format of `PDT8PST` but it instead sets `EFF{offset}local` which will work for now.  Fixes #117
Local style is jsdoc-style comments for functions and // comments for line-level comments.