attach several files via javascript