adding inline head script to replace no-js with js class on html ele