Fixed bug that accidentally flattened list arguments in jsToFay.
jsToFay can now handle automatic for functions as well.