edited directives.js and scenario.js

removed the unused image files and changed directives.js and scenario.js
to run the unit and e2e tests successfully.