Minor bug fixes to the pretty html stuff
minor fix to jsloader stuff.