Expose addtohomescreen as a AMD or CommonJS module