Making the base.js search not depend on line endings. Fixes Windows.