refactor rjs define
Merge branch 'forPR' of https://github.com/MassRelevance/TinyColor