FEAT(snippets): refactor current snippets and add 2 new snippets

Add beforeEach async and iife with use strict snippets. reformat current
snippets so that they follow standard best practices for javascript
formatting and do not include any trailing whitespaces.