Make much of the js part prefixed with defjs to avoid collisions