Added a bit more of a js functionality to automatically enter values to
elements