Javascript fix with height when resize the window.