Cleaned javascript report view