Some common UI patterns involve manipulating the page dynamically; some need a bit of help from JavaScript to work