Add npm badge to README file, fix element definition.