Improving template method.
Merge branch 'master' of http://github.com/caesarfeta/jslib