Review and simplify hobby.js