add rendering script in jsp