feature(load) js, css: add error handling