Remove huge stuff; only works with plain JS