Fix formatting and jsdoc compilation of galileo.js