add progress property to platform JS API
remember to export progress API
add example of progress API