Update mgEntry.js