Added escape for arguments of JS helper methods