Using pure Core JS use this proposed way to make extendible modules for your app