added footer to pre-load html