Notify task completion using javascript in execution listener

@priyank see Replacing Http-Connector with Jsoup usage