Used 'smartypants' function instead of 'smartyPants' for compatibility