Removing second definition of isSnippet

Fixes #1009

- [x] Ready to merge
- [x] Fix issue #1009 - via removal of `'use strict'`