allowing custom build removal of safe.js and log requirement from string.startsWith and string.endsWith