replace document.getElementById with getID method for short