modification of asapDOMTest.js