Minor changes to JS to allow for thumbs to be empty initially