adding to category through JS in HTML