Below is a simple, scrollable, top-down map made of colored tiles implemented in JavaScript. To see the source code, visit http://thiscouldbebetter.wordpress.com/2014/02/10/scrolling-a-simple-top-down-map-in-javascript/.

Use the W, A, S and D keys to move the reticle around the map.