load css/js with hook, preventdefault