Fix printing in FF/Chrome

Signed-off-by: David Fisher <deiform87@gmail.com>