external entity js slugging