Fixed some syntax issues
Merge branch 'master' of https://github.com/Mike-Dunton/snipJS