Javascript package makeover: the new package structure is more in tune with the object-oriented design of the style profile application