Support nested lists in JS evaluation

This pull request tries to fix the issue of nested lists getting flattened when passed back and forth between javascript evaluation and Less. See #1939