AMD wrapper updated to return a template name from a definition function
spaces/tabs fixed
fixed returning templates names in AMD wrapper
Release v0.5.4