fixed all teh javascripts