improved firefox compatibility
use button tags instead of submit for form buttons