fix JS to work with multiple license forms on 1 page. fixes #27