modify xMaxLength.js

add _.template method