'bin/ripple' is executed with node, which does not support "#" comments.

They should be JS based comments.

This fixes the blocking issue:

    https://issues.apache.org/jira/browse/RIPPLE-17
JSDom's current version is quite old.

Let's update it to a more recent version.

Tested with node 0.8.16 and 0.10.6.