add 'js-' classes to header