change js files to UNIX-style line ending
Use Chooser JS API v2