Add a way to retrieve a .js file from a plugin dir

Reference as /pluginjs.php?plugin=PLUGINNAME&file=FILENAME.js in
the plugin PHP source.