Added javascript in form for entering user addresses