Better circular dependency detection in browser modules



<!---
@huboard:{"order":997.0,"milestone_order":994,"custom_state":""}
-->