All changed from require to browserify, modularised all code so it's not all in ForerunnerDB.js