corrigindo javascript