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

fixes #15 | fixes #45 | fixes #33