change: AMD support for JS plugins, put plugins into seperate files