update deployJava.js and include source