Added _linkJavaScript() method