[minor] Added the simplest HTML injection function i can could imagine.
[minor] Added a script tag with refresh when we're in a render mode.
[minor] Force render mode `render` when we dectect no javascript.