Added media library path for uploading media from js.