fix broken javascript reference