remove upload javascript tag from model edit view