Ignore javascript (and SQL) when building tags