Fix of the Javascript