Simple javaScript implementation

Calling the colorPicker on all inputs with the calssName 'color':
jsColorPicker('input.color');