Moving value out of constructor

Adding jsdoc in class