[fix] add custom js loader resource also to stack