Revert "Add names to functions in generated JS."

This reverts commit a4fdf0664c17e6f54f2e166b6cefc5c8f50dbfb9.