Small bug when selecting the template
Merge pull request #3 from antoan-angelov/js-code

Small bug when selecting the template