fixed javascript error in access point detail page