add location param to addJs()