update luck.js and fix typo