corrigindo javascript2