escape bracket in javascript form generation.