update JS library for sending event to other devices, allowing orientation registration for stationary devices, updating test suits, clean up the mess. Next: working with adding more testing suits