Redesigned as self-invoked function. Test page is added.