Check if Javascript function handleOpenURL() exist.

It would be nice to have verification for handleOpenURL Javascript function because in some projects received Javascript error when tried to execute this function.