Brent tweaks

A few adjustments to fix some JSHint errors, weird button appearance. Added some docs, too. Issuing a pull request specifically in case this conflicts with other work on the graphing directive.