Delete unused js code