fix code to define a javascript function
try begin while repeat for next
now any word can be debugged
merge