Add css pre-load function.