Removing useless plugin.js code