How to Price Intelligence with JavaScript — Tutorial