allow js to be buffered in form helper