add reveal files to javascript