Fix cannot call method 'indexOf' of undefined error in Tracekit

closes #40
Merge pull request #42 from MindscapeHQ/indexof-fix

Fix cannot call method 'indexOf' of undefined error in Tracekit