Added media manager js for reference