failsafe document.getElementById, use sass