*8819* Check for js handler before class is instantiated
Merge pull request #113 from beghelli/8819-fix

*8819* Check for js handler before class is instantiated