JavaScript: placeholder replacement