Adding the new js file to handle the clear all media functionality.