Added comments, fixes #45
Added time offset and fixed error, fixes #33
Merge pull request #46 from cmfcmf/fix-15

Added ajax view method, fixes #15 | added headers, fixes #45 | added time offset and fixed error, fixes #33