Updated to use the new JS bridge instead of httpebble