Bug fixes and adding record label to the options

Bug fixes, adding record label to the options in the form and include
jquery to control user input.