Is this something you can use a fixture for? https://github.com/velesin/jasmine-jquery#html-fixtures