Apply the translateZ hack in a cross-browser way. For use with browserify / commonJS.