Update plugin.js

Added test that checks if included dustjs-core file exists.