add SPI support for JS, add example pwmWriteModule_JS (html range input)