feat(javascript): fix javascript endings