JS post abstract.
Fix PHP bugs.