[LS] fix css and js dependency issue in template :one: