post via pure js