add text template, so text could be customized
use the $element in the function
Merge pull request #105 from sergiomcalzada/master

add text template, so text could be customized