updates author name in package.json
cleans up gf.js with some tiny refactorings