Attached (see below) is some code to allow using unobtrusive JavaScript on pages fetched with an AJAX call.

Insert into ~/.bashrc and reload afterwards: source ~/.bashrc PS1='${debian_chroot:+($debian_chroot)}\[\033[41;33m\]\u@\h\[\033[00m...