Small tweaks
Use new API
Simplified version of setinput
Add sendjs test app