added javascript.

anchors (with #) were pushing unnecessary history to the stack