removing typeof

typeof will always return a string which will always evaluate to true
(whether it be ‘boolean’,’string’, etc)

by removing this we can just see if and exists.
compiled all versions based on new dev updates
Merge pull request #19 from drewcovi/master

removing typeof