Add clientID and fix syntax error

Early closing body tag cut off most of the JS