added js snippets and htmlprettify