No code relocation
I understand that the design has a flaw, the intensity of which would escalate as number of hits increases. Specifically flaw is, that, the code which should be on the client side, is being transmitted by the server to the client. Thereby consuming bandwidth. But that is not that big a problem.
Until the need arises, I wont relocate the code.