an example of spmjs