Directly provide plugin functions using .js files
Plugin functions are currently provided as data, compiled using a new Function()
which may cause security problems. Those functions should be directly provided by the server as secured JavaScript files.