Replaced deprecated use of writeJavascript with commandDelegate evalJs