Fixed issue with this scoping. Occurred when included in a Browserified bundle