Reload JS on resize