fix bug create media views and js
change macros confirm message and update media index implementing macros confirm message