invalidate function in web2py.js

This PR lets to trigger a web2py component to be reloaded.