added js hook after file remove