Fixes bugherd id:309 JS error about nesiLoginModal undefined.