Iteration 2 of the bluetooth panel js integration test
Use __proto__ to avoid defineProperties and make code cleaner
Use call and bind to address context issues
Fix code formatting issues