add javadoc.js, test.js
refactoring
fix parallel execution problem