Omnibus linting fixes
Removed guard operator in front of clearTimeout call
Cached regex objects as variables outside of function call
Merge pull request #137 from stangah/master

Larry fixes: linting, clear guard operator from clearTimeout and caching regex