Justgage js. print() but easily adapted for server.