new media browser and updated js
modified past merge