Added custom var for view source [MJ-610]

All tests pass