apostrophe encoding fix

the string "Someone has already checked this page out for editing." can't contain an apostrophe, it will break the JavaScript