Change heading with js

@dstuchbury Ready for your review, please.