changed uses of typeof for betterTypeof; also created isType() helper for easily check types
changed uses of typeof for betterTypeof; also created isType() helper for easily check types

mcwonka/casperjs,muntasir2000/casperjs,artillery/casperjs,dj31416/casperjs,muntasir2000/casperjs,jjyycchh/casperjs,pbrazdil/casperjs,joshuafcole/casperjs,kyroskoh/casperjs,artillery/casperjs,PeterWangPo/casperjs,HienLeThi/Casperjs_Demo,flyHe/casperjs,mickaelandrieu/casperjs,Andrey-Pavlov/casperjs,HienLeThi/Casperjs_Demo,vietch2612/casperjs,RobertoMalatesta/casperjs,vietch2612/casperjs,pcarrier-packaging/deb-casperjs,sircelsiussexy/casperjs,PeterWangPo/casperjs,soundyogi/casperjs,jefleponot/casperjs,casperjs/casperjs,PeterWangPo/casperjs,artillery/casperjs,Andrey-Pavlov/casperjs,vietch2612/casperjs,mickaelandrieu/casperjs,Andrey-Pavlov/casperjs,alexbiehl/casperjs,mickaelandrieu/casperjs,pbrazdil/casperjs,hudl/casperjs,joshuafcole/casperjs,hexid/casperjs,cryptoquick/casperjs,soundyogi/casperjs,soundyogi/casperjs,pcarrier-packaging/deb-casperjs,joshuafcole/casperjs,davidwhthomas/casperjs,soundyogi/casperjs,casperjs/casperjs,HienLeThi/Casperjs_Demo,istr/casperjs,linkedin/casperjs,casperjs/casperjs,pbrazdil/casperjs,mcwonka/casperjs,davidwhthomas/casperjs,singhdev/casperjs,Andrey-Pavlov/casperjs,jamesanthonyferguson/casperjs,n1k0/casperjs,kyroskoh/casperjs,casperjs/casperjs,cryptoquick/casperjs,jjyycchh/casperjs,linkedin/casperjs,hexid/casperjs,soundyogi/casperjs,flyHe/casperjs,davidwhthomas/casperjs,HienLeThi/Casperjs_Demo,JZL/casperjs,istr/casperjs,Andrey-Pavlov/casperjs,RobertoMalatesta/casperjs,jjyycchh/casperjs,hudl/casperjs,davidwhthomas/casperjs,mickaelandrieu/casperjs,JZL/casperjs,hlr1983/casperjs,sircelsiussexy/casperjs,pcarrier-packaging/deb-casperjs,n1k0/casperjs,hexid/casperjs,hlr1983/casperjs,dj31416/casperjs,PeterWangPo/casperjs,RobertoMalatesta/casperjs,singhdev/casperjs,jefleponot/casperjs,muntasir2000/casperjs,jjyycchh/casperjs,mickaelandrieu/casperjs,ravindrasingh22/casperjs,artillery/casperjs,istr/casperjs,artillery/casperjs,jamesanthonyferguson/casperjs,ravindrasingh22/casperjs,hexid/casperjs,davidwhthomas/casperjs,n1k0/casperjs,kyroskoh/casperjs,linkedin/casperjs,mcwonka/casperjs,hlr1983/casperjs,flyHe/casperjs,muntasir2000/casperjs,jefleponot/casperjs,jjyycchh/casperjs,JZL/casperjs,joshuafcole/casperjs,kyroskoh/casperjs,jamesanthonyferguson/casperjs,jamesanthonyferguson/casperjs,linkedin/casperjs,alexbiehl/casperjs,jjyycchh/casperjs,sircelsiussexy/casperjs,hudl/casperjs,cryptoquick/casperjs,kyroskoh/casperjs,jefleponot/casperjs,Andrey-Pavlov/casperjs,casperjs/casperjs,ravindrasingh22/casperjs,pbrazdil/casperjs,HienLeThi/Casperjs_Demo,pbrazdil/casperjs,singhdev/casperjs,vietch2612/casperjs,joshuafcole/casperjs,cryptoquick/casperjs,alexbiehl/casperjs,flyHe/casperjs,hudl/casperjs,alexbiehl/casperjs,hlr1983/casperjs,mcwonka/casperjs,flyHe/casperjs,ravindrasingh22/casperjs,alexbiehl/casperjs,PeterWangPo/casperjs,n1k0/casperjs,vladikoff/casperjs,PeterWangPo/casperjs,hudl/casperjs,soundyogi/casperjs,kyroskoh/casperjs,jamesanthonyferguson/casperjs,vietch2612/casperjs,vladikoff/casperjs,sircelsiussexy/casperjs,n1k0/casperjs,jefleponot/casperjs,joshuafcole/casperjs,RobertoMalatesta/casperjs,davidwhthomas/casperjs,HienLeThi/Casperjs_Demo,dj31416/casperjs,alexbiehl/casperjs,pcarrier-packaging/deb-casperjs,JZL/casperjs,singhdev/casperjs,artillery/casperjs,n1k0/casperjs,muntasir2000/casperjs,hexid/casperjs,cryptoquick/casperjs,RobertoMalatesta/casperjs,istr/casperjs,hlr1983/casperjs,istr/casperjs,istr/casperjs,vladikoff/casperjs,cryptoquick/casperjs,dj31416/casperjs,singhdev/casperjs,linkedin/casperjs,muntasir2000/casperjs,hexid/casperjs,casperjs/casperjs,dj31416/casperjs,dj31416/casperjs,vietch2612/casperjs,mcwonka/casperjs,hlr1983/casperjs,ravindrasingh22/casperjs,RobertoMalatesta/casperjs,vladikoff/casperjs,linkedin/casperjs,vladikoff/casperjs,jamesanthonyferguson/casperjs,mickaelandrieu/casperjs,sircelsiussexy/casperjs,pbrazdil/casperjs,sircelsiussexy/casperjs,flyHe/casperjs,mcwonka/casperjs,JZL/casperjs,JZL/casperjs,ravindrasingh22/casperjs,jefleponot/casperjs