fixed double-loading css file if already hard-linked in page html
auto-detect previously loaded assets to avoid double-loading
prevent doubble loading on js as well
rebuild