form.js
var $form = $("#js-signup-form");
var serialize = $form.serializeArray();
var post_data = {};
// 配列 -> 連想配列に
for (idx in serialize) {
var key = serialize[idx]["name"];
var value = serialize[idx]["value"];
post_data[key] = value;
}