added options for viewport width and height config

Thanks for the innovative solution to pdf printing, saved me tons of time.  I was running into issues related to the viewport size where my pdf's were not printing quite correctly..  I made a small change to enable them to be configurable vs hard coded in the rasterize.js file.  If this works for you please approve the merge and i'll change my Gemfile back to your repo.