Take promises into use for loading the game modes json and options worksheets. Create image loader js.