Added "attachinary:fileadded" and "attachinary:fileremoved" js events