[IMP] website.editor: change background snippet js to simplify extend features