JavaScript Printer finished