Properly escape special characters.

Otherwise, you'll get issues with special quotes and the like.
See http://github.com/mbostock/d3 using the previous commit for
an example. Adding d3 to dev dependencies as an example. Close #1.

Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>