bind js function to search wiimotes
conversion error with str2ba (tested on a raspberry pi)