sample for sail.js