bug when static url provided in configuration has no ending slash
STATIC_URL was not used in staticURL() function