Fixed bug with plugins' javascript files being included several times