loads scripts and css asynchronously