Changed srcElement to target for firefox
Firefox now works for downloading!
removed random debug statement
Merge pull request #2 from cryptic-io/firefox

Firefox Fix