update JavaScript
set end-of-line handling