Implemented more secure method for testing for an Array.
Instantiated the doodles object
Implemented an in-house cross-browser ajax library.