Use new javascript completion.
Fix typo.