Added 3 new calculations

var pixelsPerInchWidth
var pixelsPerInchHeigth
var pixelsPerInch

Added document.write
Added console.log