"use strict" must be inside closure

Strict pragma globally can cause many issues in future.

Check it out http://www.nczonline.net/blog/2012/03/13/its-time-to-start-using-javascript-strict-mode/
Merge pull request #41 from armed/patch-1

"use strict" must be inside closure