remove directory js