Updated to handle HTML files in other folders (ie Maven layout).

Updated to handle HTML files in folders other than the current source container (ie Maven layout - src/main/resource vice src/main/java).

Also fixed issue where an element with both data-field and id the same value would cause the element to not be found (ie <div data-field='content' id="content">).