Update mintpresso JS API

add some example figures with jquery when