Genera improvements on python bindings.
Add test injecting jquery.