Merge pull request #1 from jblarsen/cors_and_time

CORS and time

Add CORS headers and fix the time query string input.
Merge remote-tracking branch 'upstream/master'