update joystick and add jsb support