changed javascript to correctly check file extensions when uploading files. Refs #301
Merge branch 'master' of https://github.com/NAVADMC/SpreadModel