JS: Fix tag completion.