Added target _blank for external field, and fixed libraries tpl.