js broke due to undefined var for title-anchor testing. moved to bottom so error would not presist and break rest of js