Removed unused local variable.
single "var" per scope
More efficient event binding
Merged "each" iterators inside update()
Setting of windowHeight functional encapsulation
Don't need to use named function for event handling.
Default "YPos" value type changed to an integer.
Default values definition, cleaner way
Checking outerHeight definition before setting default value
Merge pull request #1 from alexVauch/feature

Small improvements