js based placeholders in editor