removing unnecassary js