Fixed node.js explain.
Fixed not properly quoting sort keys.
Switched to using ruby and pythong constants for Ascending/Descending.