display function syntax around function input area.

this helps explaining what this is and lets people familar with js start
right away.
parse input as json and use strings only as a fallback.
explain which syntax the input field expects.