sp for js