JC-1966 Added js for Preview button
JC-1983 Deleted horizontal scrollbar