implemented html component to add js and css to the frontend