Issue#1 recordonlyonce

A couple of changes so that users can record more than one recording without having to refresh the browser and to include PHP upload to server call.