Added missing semicolons

Library cannot be safely minified otherwise