remove inline javascript, add clear button for file field
fix file field clearing, add record button (where supported), use AJAX for submit when available
better to put this stuff in onstop
Merge pull request #129 from ccd0/master

add clear button for file field, record button