Update - fix id in javascript