object holding a pebble-ml implementation in javascript