bug fix, detected wrong page for updating edit post screen
Merge pull request #53 from Postmedia/bug_fix_js

bug fix, detected wrong page for updating edit post screen