cleanup of foreneno.js (stage 1: with code that is commented out)

#fno-34 in progress