use a dot (.) after script keyword
script. if (10 == 10) { alert("working") }
This will work as expected