Prevent duplicates in the AMD dependency array