Fixing JS issue.