added js to trigger reload if the manifest has been updated