Issue #2 and other formatting issues resolved.

Issue #2 with formatting issues resolved. Now the formatting will takes place after the DOM is generated.

@Mads, please deploy it in WE2013 and WE2012 repos. 

Thanks 8-)