Added proper hooks for front- and back-end css and js