Updated registerElement shim

latest commit 48a262c572
@thomaswilburn thomaswilburn authored