Update strategy.js

Support for attribute `name` with array like values.
example: 
`<input type="text" name="login[name]" id="name" />`