Hooking html with the application