Use new API in samaple application HTML