makke the truncate have more sense

Signed-off-by: Floyd Pink <imbleedingme@googlemail.com>
moved templates to within js/app

Signed-off-by: Floyd Pink <imbleedingme@googlemail.com>
commit for the web

Signed-off-by: Floyd Pink <imbleedingme@googlemail.com>