Expose addToHomescreen as a AMD or CommonJS module