Separated files for Client-side

I improved readability and separated client-side files.

I added underscore in the head of index.html to replace "Array.map" methods since they are not supported for IE8. Underscore is not implemented yet.