Change these to
var By = function() {};
var ByWrapper = function() {};