prevent scripts/css from being loaded multiple times