renaming some things, making more use of javascript multiline strings