Added support for instanceof, e.g. 'WebCL.getPlatforms()[0] instanceof WebCLPlatform' now returns true