var c = document.body.className; c = c.replace( /everest-forms-no-js/, 'everest-forms-js' ); document.body.className = c;