html button call javascript function with parameters