Create java part.js