Get refresh on resize to work on firefox. Import minified jquery