Simple JavaScript image gallery [wip]