Update jscolor.js

Patch the bug when the input is in a bootstrap modal window, and improvement this performance.