Code refactoring. Tested and fixed for IE > 9. Permissioncheck for editing. Replaced svg with png for IE support.