fix relative path
fix javascript