Fix cancel button in criteria/notices edit page

EV-199

There was a js error in the onclick event used by criteria/notices
edit. The <portlet:render/actionURL> tags are inserting line breaks.
I just defined the url as a variable before and then called toString
on it.