fixed javascript reducing load problem.