Add escapejs filter and string quotes to sanitize STATIC_URL