Working on javascript bind post