added ; after shares object in JS library