added helper to load js or css file