renamed effects->effect. jsdocs on effects