Precompiling and remove javascript tags