Initial fixes, format file, begin to convert JavaScript-Reference.html