remove unneccessarry js