Add a test function to figure out if things work.
Basic communication between Java and JS works.
Callbacks onpoweron/onpoweroff working.