update style; add async loading of js resources