[Code Style] Fixed codestyles in the frontend modules folder

Fixed all non template-related code style issues in the frontend modules folder