outsourced the javascript files
write comments to the js files
add a table