Party added for event handling.
Consistent headers.
Functions are no longer in an if-block.
Punch.ready-function added.
Consistent headers and Party added.