ssjs method