Update JS post syntax