Fix error where strToObj is undefined when it is used
Merge pull request #1 from ben-ng/patch-1

Fix error where strToObj is undefined when it is used