update js to 1.4b
upgrade to 1.4b
update github urls
add back diverse_array function

used in media-files addon