significantly change JS layout (this pattern feels incredibly dirty and amazing at the same time)