POST report submission test in JS