The next list will help you to know how the game is structured.
index.html (Game 'launcher')
title.png
leftwalk.gif (player moving left animation)
rightwalk.gif (player moving right animation)
leftspeak.gif (player speaking left animation)
rightspeak.gif (player speaking right animation)
left.gif (player stop animation)
right.gif (player stop animation)
actions.js (take, speak, use objects, etc... functions)
cookies.js (functions to save game progress)
engine.js (functions used by the game developer)
global.js (variables and classes)
include.js (it set all .js files into index.html)
language.js (language file, modify it to set JSGAM in your own language)
preload.js (used for preload images)
utils.js (internal functions)
title.js (main game screen)