Extract float JavaScript code.