JAVASCRIPT: Window re-size add class