records: fix iframe previewer and buttons

* Fixes iframe previewer for ispy-online. (closes #340)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>