Update user test results on screen when the test result is added to db

This is some JS stuff to enhance the user experience - should be tested/reviewed.

Fix #441