Added missing semicolons, cleaned up white space, and cleaned up comments.
Added missing semicolons, cleaned up white space, and cleaned up comments.

alanwsmith/doc-write-image-loader,alanwsmith/doc-write-image-loader,alanwsmith/doc-write-image-loader,alanwsmith/document.write-image-loader,alanwsmith/document.write-image-loader