nice javascripts for the form