Only includes files once

Prevents "Maximum call stack size exceeded" errors in desktop Safari