criando MV framework javascript