Thanks! It’s my first game—a small one—and I hadn’t intended to put it online, let alone make it playable on the web. If you have any other examples like this, it would really help me refine things.
At leas one more: I suggest you use the action key (space or mouse 1) to enter buildings as well instead of the e key. At least if you don't have a reason for not using the action key.