File manager translated from Prototype from jQuery