LPS-44366 Update format-js classpath to find closure-compiler
LPS-44366 Change parameter name for consistency

I did not change resourcePath variable because it means different thing
for the caller than for the receiver.