made JS literal escape like Markdown (jashkenas/coffee-script#1504)