Redid map js to be less shitty (thanks jared) also now works on multiple days