converted line endings to unix.
converted line endings to unix.
code cleanup: replaced tabs for indentation with four blankspaces.
code cleanup: fixed indentation levels.
fixed various typos in code comments.
code cleanup: replaced longhand object/array declaration code with shorthand equivalent.