small js changes. Updated modernizer