adding swg js port