Better .min script check, and

Fix passing of pluginDir to recipress.admin.js