correct DOM id in JS