Adds "use strict", and corrects the usage of `require`
JSHinting