Ajax url already defined in the sell_media js global
Removing duplicate functions, those functions are now methods