Externalized strings into constants. Removed String.prototype in favor of internal function in order to avoid bad for loops caused by external libraries.