Update apps.js

Update apps.js

document.getElementById() -> getDom()