Fix prepareId() only escaped first occur

Javascript error was generated in chrome if input was named in nested array format (e.g. `name="foo[bar][]"`)

The prepareId was only find and replace the first occur of listed character.
Rewrite in RegExp to replace all 

> Error in event handler for (unknown): Syntax error, unrecognized expression: input#foo\[bar\]][]
> Stack trace: Error: Syntax error, unrecognized expression: input#foo\[bar\]][]
>     at Error (native)
>     at Function.st.error (chrome-extension://ompiailgknfdndiefoaoiligalphfdae/jquery-1.9.1.min.js:8:10973)
>     at ft (chrome-extension://ompiailgknfdndiefoaoiligalphfdae/jquery-1.9.1.min.js:8:17138)
>     at wt (chrome-extension://ompiailgknfdndiefoaoiligalphfdae/jquery-1.9.1.min.js:8:19823)
>     at Function.st (chrome-extension://ompiailgknfdndiefoaoiligalphfdae/jquery-1.9.1.min.js:8:6140)
>     at b.fn.extend.find (chrome-extension://ompiailgknfdndiefoaoiligalphfdae/jquery-1.9.1.min.js:8:20941)
>     at b.fn.b.init (chrome-extension://ompiailgknfdndiefoaoiligalphfdae/jquery-1.9.1.min.js:7:1123)
>     at b (chrome-extension://ompiailgknfdndiefoaoiligalphfdae/jquery-1.9.1.min.js:7:203)
>     at Object.cipFields.setUniqueId (chrome-> extension://ompiailgknfdndiefoaoiligalphfdae/chromeipass.js:804:34)
>     at HTMLInputElement.<anonymous> (chrome-> extension://ompiailgknfdndiefoaoiligalphfdae/chromeipass.js:837:14)