Changes hardcoded static paths to use static()

URLs to static files hardcoded as a directory are buggy
and can break if the static prefix changes. Instead use the
static() method to generate the URL.

Change-Id: I621983d195a5e7db0201653edceb44e327d6c4dc
Closes-Bug: #1308063
Merge "Changes hardcoded static paths to use static()"