Reorganized page-specifc javascript; work on home page