Moving the driver method

For Issue #1.

Created Driver.js and moved the main driver function (signature is
$(document).ready(function())) to it. Also moved the keydown listener
method to it and expanded the comments.

Added a reference to Driver.js in the HTML file.