Clean js code in jsp