widget works and moved to JS completely