Refactor codes in assets directories
Fix bug in application.css and add two specs