Feature/add vanilla js support

Would be nice indeed, for jQeury and vanilla version then.
Will make an separate issue for this.