Fix minor JS-issues

remove duplicated property and add missing semicolon