fix javascript widget path