Refactoring frontend.js
frontend.js Refactoring
Merge branch 'frontend' of https://github.com/StickMen/KungFuRhino.git