Added post number to URL.
Removed missplaced 'var' declaration.