js works on posts