update effective javascript post