Questions Regarding AppleScript and JavaScript for Automation

Dont worry. I figured it out.

its setvariable not setVariable. Just simply ridiculous. Hours on some ridiculous problem. Is there some static analysis tool coming for the AS or JA?