Add magit
Add define to list of js2-global-externs