removed junk javascript and reformatting shuffle