Move walls data modify(scale and offset) from php to js.
Modify some <input> order. Move area <canvas> out.
Split transform function from drawArea(). Change some var/fun name.