Fixes JS load problem.