Yes, move them.
For things like this there can be multiple opinions and no single right answer, but there are wrong answers - and those files in /usr/share seems like one to me.
For a formal opinion, read through the
FHS, though keep in mind compliance with it is a
convention not a strict requirement.
Then put files wherever
your team - current and future - find most logical and easy to work with. (And if that involves creating new directories, do it.)
Whether they end up in
/var/www/html or
/usr/local/nginx/html or
/opt/mywebapp or
/home/webstuff or something else - ultimately there are pros and cons to each of those, what matters the most is making sense to the sysadmins and developers who are dealing with it.
(And if the paths used do vary from what other people using the same software use, a note of explanation in the readme and/or setup documentation obviously makes sense.)