Testing JS and jQuery HTML replace