Added stubs.js to ensure console.* is defined in any browser.

Code was taken from H5BP.