took html out of js for sl