Added JS in private resources management; Fixed bug in images management table