trying to get headers via javascript.