Migrate plugins to wp-2.js