Unify comments
Add Object to String result shortcuts
Add missing variable definitions
Add isRegExp function
Unify all return statements