Hmm. lines 195-241 could be written with something like:

if (/^F\d+/.test(key)) {
    locallStorage[key] = inSender.getValue();
}

Note that I haven't tested this suggestion

Hope this helps