jquery-dateformat library imported and required in index