Javascript Array Foreach Not A Function Of The Skeletal System