Generic fetch method added to componentJS