made the API compatible for multiple instances on a single page. Version is now 0.2.0