Get javascript and avatar path correct.