Fixed: Issue #22
Replaced that.cacheReport(); with Bugsense.Cache.cacheReport(); and deleted var that = this;