[fix] add plugin.js manually after patching