javascript cache workaround