fix #24 : New format for "Averaging period" menu (add select2.js library)