fixed self-invoking anonymous function and whitespace

Switched spacing standards for document