Bug 1089511 - refactor system/js/bluetooth to future compatible format