Fixed javascript load issue.