esc_url() doesn't work in Javascript... Was already escaping the var base_url.
Merge branch 'master' into develop