removed faulty comments in init.js
Updated jsdoc documentation