file attachment plugin ajax rework finished, bugs fixed