Details page: fixed javascript var name