Add vala binding (no sensor support)
Fix a bug in the JS binding