fixed early exit from isModuleOfType function. Function now loops properly.
CSS Cleanup
Moved from xhtml to html5
Added content-type header of xml