Update buttons to call javascript onclick