Here's a simple implementation in 20 lines of code - I use this in production for our single page Backbone app (migrated away from Requirejs).<p><a href="https://gist.github.com/paton/ab27a1be7e843d220ee3" rel="nofollow">https://gist.github.com/paton/ab27a1be7e843d220ee3</a>