how to get the label id from for attribute in javascript