Some useful javascript code which can be used on general or several specific websites