improve variables implementation in DOM.template
version 1.5.5