Added "use-strict" to library files

This found several accidentally global variables
Merge pull request #6 from greggman/use-strict

Added "use-strict" to library files