I am new to JavaScript and as a project I decided to create a generic game map that can be used for RPGs, strategies, et cetera. After reading up on it I have wrote a few different versions and...