Javascript not working

when ever I atempt to use my JavaScript code it just gives me an error ware before it would work, what is happening?

Javascript is disabled

welcome to the forums @pooiod7

js is disabled, how to enable it is:
1.click the gear icon
image

you should see

  1. click "javascript extentions"

    now your js blocks will work!
    note that it will not save in your next session
with javascript extentions

with:


note: i mousedrew the circle, please dont judge it
untitled script pic

without javascript extentions


even when js is disabled, it will still report the function code, but you cannot do anything to run it