adding printtodiv to utils so it doesn't have to exist on every html page