Refactor sass.js task for improved maintainability