add correct content-type in nodejs script