Fixing a small js issue, values where not displayed even when available