JSLint compatibility

Still throwing strict violation errors when defining this.* properties
in constructor functions. Also throwing errors for using 'document'
before it is defined; however, in a browser context document should
always be defined before a script is loaded.
Resolved Errors

Resolved some issues from the last commit. Primarily the "i + 1" in the
for loops should have been an assignment to i. Should have been obvious.
Working Compatible Version