allow inline function `x.func( callback=def cb(): ...)` syntax
regtest for inline def
fixed inline def in javascript mode.  TODO fix for normal mode.