Added date checking to fireplace (bug 1044230)

I'm not sure we'd ever need to because the `<iframe>` wouldn't even get loaded if the date was incorrect, which means this `main.js` code would never get loaded anyway. (if you ever want to check if we're in a package, you can just check `window.location.protocol === 'app:'`, btw.)