Fixed syntax so wrapper can pass through jshint without errors