organize code
move getJSON function in separate file
remove unused property
add default value for image property in sprites
remove event preventDefault
make addEvents private method