gpio: [js] fix ee inherits