Fixing tests. Removing unused JS scripts