Added sinon.js and fixed canvas resize trying to get its height from a div that had never been rendered yet for the default-hidden tabs
Canvas resizes correctly on mobile screens