[#446] Accept either .min.js or .js in ckanext/*preview tests

We don't care if the page which one is added to the page, as long as
one of them is there.

Fixes #446.