insertPlugin(plugin {String})
Gives a deep copy of the core JSON structure that has all current data.
Takes:
plugin (String) refers to the name of the plugin. This HAS to match the file folder name within the /plugins folder found in the root directory for TILE. The script containing your plugin has to be named tileplugin.js