converting jquery appends to backbone views and adding ui into manage resource template