unobtrusive JS; global DOM objects

read 8.1 - 8.2