Better circular dependency detection in browser modules