A spot of R&D into JavaScripts "class hierarchy"