To run this example, you need to create your own plugin.
How to create a custom plugin? Here is the way plugin development
Using these tutorials, you need to create a custom plugin and then put the java and js files in the right places. (Not only js, you also need a java file, as shown in your link)
(NB IMEI, . , UUID. . UUID)
, IMEI.
IMEI ?