fixed outdated js