Tests for handle() and emptymsg render
Matching js#xxxx.jpg more precise, exclude maxjs#1.
Skip some pregmatches for nojs