Simple slideshow using minimal js