movied adaptiveimages to plugin, added configuration support and cleaned up a bit
amended index and script files