This is a super handy idea of yours, would be cool if this would work when using browserify to make the final browser bundle.
Activity