add post javascript array trick