html button onclick call javascript function with parameters