GJP-2 Created example where we are asking for a layer that doesn- not exist and catch it in javascript.