Moved code transforming javascript ast to parameterized SQL, previously located in map.coffee, to a new external file called "expression.coffee". Replaced the big switch statement with object properties. Expression can now be used in both map and filter (and possibly sort).