replaceSymbolsInJavaScript: Implemented support for replacing arbitrary LHS expressions.

Warning: SLOW for non-symbols.