trying to make webpage faster by eliminating redundant loading