Javascript : Resize event after the window has been resized