Override the standard date picker

Here’s the snippet I copied over into the v2 page I’m building.

When I preview the page, it is completely blank. Here are the console details:

When I remove the snippet, the page loads fine (but doesn’t work the way I need it to - because I need the date picker to work differently )