clean hover functions and added mustache templating