added director and totaljs