Removing more unused javascript