fix multiple implementation of docker.io js