Gist Close Attempt in Sails Framework