Add strict check to plugin.js