Added return statement containing DOM object for post-processing of results

Updated code example