Changed data type of stars xy to int in the show function to fix error with js