Add some methods and jsdocs for target.js module. Remove unused methods
Remove unused code for util.js module