Use param of JavascriptRenderer constructor.

I add baseUrl, basePath parameters to getJavascriptRenderer(...) for increased use speed.

Save two lines of code.

I am lazy :)