Auto refresh page on js script update