add in STATIC_URL once its defined (bug 849892)

r? @kumar should probably go in before we tag