Remove unused front end dependencies and grunt packages
Fix bugs and code style improvements