Feature/add vanilla js support

arguments seem incorrectly named for a vanilla version + btn and target are used in this version.