Update code snippets.
Added module loader to files that were modified in html branch so merging later is easier.