code cleanup: long line
Remove non-string scripts
ensure that log() is a function
v1.1.6