Some performance improvements ( ~20% faster )

Performance was improved by:
 * Making tag concat strings by replace;
 * Summing 2 strings ( + ) instead of collapsing them into a string.