Added possibility to load scripts.
Fixed 'endsWith' and 'startsWith' functions.