Dnbs is a project mainly written in JavaScript, it's free.
The source code of the repository here is provided "AS IS" to anyone under the LGPLv3 licence. (GNU LESSER GENERAL PUBLIC LICENSE, version 3, 29 June 2007) http://www.gnu.org/licenses/lgpl-3.0.txt
Please don't be insulted by some of the code here
https://secure.wikimedia.org/wikipedia/en/wiki/Brassiere_measurement http://www.targetmap.com/viewer.aspx?reportId=5285