fix bug when loading activities page
move jquery extensions to newday.js