From old feedback: Direct JavaScript | Cwicly
To begin with I think having a way to directly input JavaScript would be great. A good place to start could be the interactions panel. The inputs would be the inner body of an automatically generated function wrapper.
Attached, you find: a mockup tweaked from the interactions panel. The idea is based on a software package I like to use, showing a dropdown to chose previous functions or create a new one. Obviously, tbd. but I hope the idea gets across.