I am building a JavaScript script that reads binary HGT files - as generated by the SRTM - and converts the data into bitmaps viewable in your browser.
You can try out the script and view the source code of a preliminary version on GitHub:
https://github.com/jaanga/terrain-plus/tree/gh-pages/cookbook/read-hgt-files
The app seems to be reading the elevation data correctly, but the numbers are huge ( over 20>). See the demo which shows the first 50 heights of the file. In this case, the demo shows the southern tip of Point Reyes near San Francisco CA.
The SRTM 'Quickstart Guide' says:
Heights are in meters referenced to the WGS84/EGM96 geoid
I cannot find a definition or explanation for what this exactly means. Nor have I found any JavaScript code that could be used to convert the 16 bit integer HGT data into something like meters of elevation above or below sea level.