Added diagram of javascript files and functions.