Added JS and URL contextual escaping methods to Escape class with diff friendly changes.

Added JS and URL contextual escaping methods to Escape class with diff friendly changes.