Issue 6

This change addresses https://github.com/Wikia/vignette-js/issues/6
I think in ES6 this is default but it is safer to do
parseInt(config.xOffset1, 10);