optimize twig assets wildcard detection and provide goto #114