Pagecontainer: Code standards, wrapping long lines, and moving regex to the outer IIFE.