Template is now defined internally in order to achieve easy RequireJS integration capability