the getting of the id back to js works now