Added javascript files
Beautify code
Added gitignore
Finished docs