Working example 1 in both dev and build mode. Woohoo!