fix diff view js error (regression)

the diff page tries to load thumbnails and shouldn't
in process refactor watchlist.js to look like a module

Change-Id: Iad1fce511343c16c5017f8ea134efd50a64d7bba