Add ComJSEnv

Don't put the implementation of the method on the same line if the signature takes more than one line.