hrefTitle isn't used in the javascriptCode.tpl - no need to replace it.
Fix test for new javascript tag.