JS: Find local variables for function sources.
Test for return type of functions returning literals.