Fix internal server error from profile.ejs

This is a fix to handle a situation where user's proximity is not available.  With this fix, we show the proximity index only when it's present.  Otherwise, we show "N/A".

cc: @jjmerino, @kmeurer, @jamesongamble, @suprbh