few java snippets
logger name optional
few more improvements
javascript improvements