Adding check for anonymous functions.
Adding check for anonymous functions.

As suggested by @n1k0

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