convert to js app + mvc for postback