JavaScript file for I2C ADC module