Javascript module patterns for a spotify playlist