Fixed #6. Handle multiple elements
Updated minified file