Clear drawn structures in ISIS/Draw window exposed in Webport web page

Hi All,
Is there a way to clean the drawn strucutures in ISIS/Draw window exposed in Web page through webport say through a javascript activation reset button? Has anybody had a wokring example to accomplish this?
Thanks in advance
Dong