Add language and right single quote entity
Move JavaScript to the foot of the page

Also wrap the cellular automaton in a self-executing anonymous function
to prevent its variables leaking into the global scope.