Resolved #1

Added viewport meta tag to set initial scale and disable user scaling.
Use parentElement instead of parentNode to get parent elements.