Fix temperamental regexp for 'nojs' class removal