Added the 'Expand Decoration' feature to JS