Delete unused js code in review