Update JavaScript snippet group

Added snippets for basic DOM query, manipulation and class setting/removing
without the need for jQuery or any framework