cleared js and rewrite randomTextOnSlide without for each
Merge pull request #1 from realnumbers/js-refactor

cleared js and rewrite randomTextOnSlide without for each