refactored "sympa.js"