js: minor layout fix
Must fix a problem with iOS message sending

On iOS (at least in configuration iPhone5, pebble 2.0b4, iOS 7.0.4
jailbroken) sendAppMessage returns "undefined" instead of transactionID.
So queueing logic was failing as it depended on valid transactionID.
Now we replace undefined with -1 to work this around.
Try to fix (or diagnose) iOS blank config window