css/js loader implementation