Speeded up load-time by replacing Javascript lines with hardcoded html