Cleans up document bootstrapping code.
Removes unneeded console.log from method.