Added missing semicolons

Library cannot be minified otherwise