(changes by me: also allows javascript functions, unlimited functions + misc tweaks)
Your plot will go here!
Advanced