Fade plugin, minor code cleanup:
Declaration and assignment of local variables in one line.
Merged if condition checks.
Use pre- instead of postfix de- and increments.
Removed redundant brackets.
Added and removed newlines.
Fixed indentation.
Approved by PS Jenkins bot, Sam Spilsbury.