Added JS functions for adding content on existing sites

These functions are called, wenn the site is first created.