Simplify loading of JS and CSS dependencies