new post data binding Javascript