Implementation of creating jQuery UI widget with unobtrusive style (attribute based declaration)