fix base path for importing js legacy support - v.0.2.10