Java mouse input

Java mouse input from browser is now passed through jni to native code.
Removed some old dependecies