More smooth actions in javascript

So far, for each action (change colour or font size) javascript would load userstyles.php stylesheet and set it as an argument to associated <link> element. This would cause all the styles to be lost before new stylesheet is loaded.

From now on, the old <link> element is preserved untill new stylesheet is fully loaded