Add TernJS javascript completion plugin