fix issue #1
this should allow $ to be escaped by using $$. This lets jquery work