Added button callback that should work in JS...

Added signal "buttonChanged(int button)" to JsInterface. Should be able to
connect signal to JS function. Also added properties "buttonA", "buttonB", and
"buttonPwr" to JsInterface which should be accessible in JS space.
Some changes to the callback
Fixed javascript callback