changed comparison operators to ===, and simplified array declarations
remove stray char...