A simple photo gallery using JavaScript Module Pattern