Prevent: Error: Uncaught TypeError

Prevent: Error: Uncaught TypeError: object is not a function
Merge pull request #630 from dismorfo/master

Prevent: Error: Uncaught TypeError