Updating the rightsMetadata for DamsObject and removing un-used javascript functions. DHH-104