Java Program For String Operations Javascript Compiler