fixed JS variable name