removed javascript code plugins.php