Add util.js

Utility functionality used be File API.

Jira-issue: WP-1015
Fix "Explorer undefined" error

Fix path to included script files.

Jira-issue: WP-1015