Remove hard-coded static prefix from JS and CSS files

Use global variable STATIC_URL in JavaScript, use relative
urls instead of absolute in CSS files.

Change-Id: Ib89d95c4cb425479e3e7af3d8b38292b3a335faa
Closes-Bug: #1342079
Merge "Remove hard-coded static prefix from JS and CSS files"