[gh-pages] update js to allow for leading zeros