add link lookup
split html and js