fixed bug with no styles applied after .load()