Guildwars BBCode (100% Javascript)