few more erros fixed
javascript changes