updated tack edit javascript - still need BE work