Functions Wacky

array correction was made to Wacky js file