ugh, moment isn't available over ssl, added local copy