FInished loops and booleans, consolidated JS